package com.dongdongshop.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbIntegralMapper;
import com.dongdongshop.pojo.TbIntegral;
import com.dongdongshop.service.IntegralService;

import javax.annotation.Resource;

@Service
@org.springframework.stereotype.Service
public class IntegralServiceImpl implements IntegralService {

    @Resource
    private TbIntegralMapper tbIntegralMapper;

    @Override
    public void insertIntegral(TbIntegral tbIntegral) {
        tbIntegralMapper.insertSelective(tbIntegral);
    }
}
